package com.ampaiva.model;

import java.io.Serializable;

public abstract class Element implements Serializable {
    private static final long serialVersionUID = 9063944972720420313L;
    public static final int INVALID_ID = 0;
    private int id;

    public Element(int id) {
        this.id = id;
    }

    public Element() {
        id = INVALID_ID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

}
